/*
 * DosPisos.h
 *
 *  Created on: 27/04/2013
 *      Author: juan
 */

#ifndef DOSPISOS_H_
#define DOSPISOS_H_

#include "Figure.h"
#include "Escalera.h"
#include "PisoInferior.h"


using namespace std;

class DosPisos: public Figure {
private:
	void create_components();
	PisoInferior* PrimerPiso, *SegundoPiso;
	Escalera* PrimeraEscalera, *SegundaEscalera;
	

public:
	DosPisos(GLuint  program, GLuint segments);
	virtual ~DosPisos();
	virtual void draw(GLuint program, glm::mat4 & world_matrix);

	void set_textures(unsigned int id_floor_texture, unsigned int id_stairs_texture,
				unsigned int id_columns_texture);
};

#endif /* DOSPISOS_H_ */
